package com.databasir.core;

import lombok.Getter;
import lombok.Setter;

import java.util.Collection;
import java.util.HashSet;
import java.util.concurrent.ConcurrentHashMap;

@Getter
@Setter
public class DatabasirConfig {

    private Collection<String> ignoreTableNameRegex=new HashSet<>();

    private Collection<String> ignoreTableColumnNameRegex=new HashSet<>();


    public DatabasirConfig ignoreTable(String ignoreTableName){
        ignoreTableNameRegex.add(ignoreTableName);
        return this;
    }
    public DatabasirConfig ignoreColumn(String ignoreTableColumnName){
        ignoreTableColumnNameRegex.add(ignoreTableColumnName);
        return this;
    }

}
